from django.urls import re_path, path
from . import consumers

websocket_urlpatterns = [
    # re_path(r'room/(?P<group>\w+)/$', consumers.ChatConsumerV1.as_asgi())
    # re_path(r'room/(?P<group>\w+)/$', consumers.ChatConsumerV2.as_asgi())
    # re_path(r'room/(?P<group>\w+)/$', consumers.ChatConsumerV3.as_asgi())
    # re_path(r'ws/chat/(?P<room_name>\w+)/(?P<user_name>\w+)/$', consumers.ChatConsumerV4.as_asgi()),
    path(r'ws/chat/<str:room_name>/<str:user_name>/', consumers.ChatConsumerV4.as_asgi()),
    # re_path(r'ws/index/(?P<user_name>\w+)/$', consumers.IndexConsumer.as_asgi()),
]
